import request from '../utils/request'




// 获取城市房源信息
export const getCityData = (id) => {
    return request({
        url: '/area/map',
        method: 'get',
        params: {
            id
        }
    })
}

// 获取房源信息
export const getRectData = (id) => {
    return request({
        url: '/houses',
        method: 'get',
        params: {
            cityId: id
        }
    })
}